﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.Serialization;
namespace ClassLibrary
{
    [DataContract]
    public class Team
    {
        [DataMember]
        public List<Player> Players { get; set; }

        [DataMember]
        public string Name { get; set; }

        public override string ToString()
        {
            return this.Name;
        }


    }
}
